<?php if($this->opt=='company'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>企业简介</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">企业简介：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/></td>		
		</tr>
     </table>
</div>
</form>
<?php elseif($this->opt=='service'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>服务</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">服务：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/></td>		
		</tr>
     </table>
</div>
</form>


<?php elseif($this->opt=='success'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>成功案例</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">成功案例：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/></td>		
		</tr>
     </table>
</div>
</form>
<?php elseif($this->opt=='case'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>解决方案</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">解决方案：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/></td>		
		</tr>
     </table>
</div>
</form>
<?php elseif($this->opt=='hangye'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>行业方案</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">行业方案：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/></td>		
		</tr>
     </table>
</div>
</form>
<?php elseif($this->opt=='type'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>行业范围</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">行业范围：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/>一行一个，每个限在15个字符（含15）以内</td>		
		</tr>
     </table>
</div>
</form>
<?php elseif($this->opt=='picture'): ?>
<table summary="" id="pagehead" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td><h1>轮番图片</h1></td>
	</tr>
</table>

<script>
$(function(){
	$('#form').submit(function(){
        // ajax发送数据
        $.post(location.href,$(this).serialize(),function(data){
            if (data.state <= 0)
            {
                $('#'+data.extra).focus();
                alert(data.message);
                return false;
            }
			alert(data.message);
        },'json');
        return false;
    });
});
</script>
<form name="form" id="form">
<div class="post_form" id="info_form">
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="info_table">
		<tr>
			<td class="td1">轮番图片：</td>
			<td>
            	<span>
                	<textarea id="content" name="content" rows="20" cols="110"><?=$this->content?></textarea>
                </span>
            </td>
		</tr>
         <tr>
        	<td class="td1" colspan="2" style="text-align:center;"><input type="submit" value="提交"/>
                <input type="reset" value="重置"/>只填写文件名一行一个，每个限在15个字符（含15）以内</td>		
		</tr>
     </table>
</div>
</form>
<?php endif; ?>
